package com.csu.controller;

/*
 *
 * Author: Tianyu
 * Date: 2022/9/29 21:54:36
 */


import com.csu.system.domain.SysConfig;
import com.csu.util.JsonResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 系统设置相关
 */
@Controller
@RequestMapping("/setting")
@Api(tags = "系统配置信息")
public class SysConfigController {

    @GetMapping("/getInfo")
    @ApiOperation(value = "获取最新配置信息")
    public JsonResult getInfo() {
        return null;
    }


    @PostMapping("setInfo")
    @ApiOperation(value = "更新系统配置信息")
    public JsonResult setInfo(SysConfig config) {
        return null;
    }


}
